package com.star.modules.sys.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 首页展示 类VO
 */
public class IndexVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<PicVo> pics;
    private InfoVo aboutAs;//联系我们
    private List<InfoVo> infoMations;//咨询
    private List<InfoVo> news;//新闻
    private List<HouseVo> houses;//房源

    public List<PicVo> getPics() {
        return pics;
    }

    public void setPics(List<PicVo> pics) {
        this.pics = pics;
    }

    public List<HouseVo> getHouses() {
        return houses;
    }

    public void setHouses(List<HouseVo> houses) {
        this.houses = houses;
    }

    public InfoVo getAboutAs() {
        return aboutAs;
    }

    public void setAboutAs(InfoVo aboutAs) {
        this.aboutAs = aboutAs;
    }

    public List<InfoVo> getInfoMations() {
        return infoMations;
    }

    public void setInfoMations(List<InfoVo> infoMations) {
        this.infoMations = infoMations;
    }

    public List<InfoVo> getNews() {
        return news;
    }

    public void setNews(List<InfoVo> news) {
        this.news = news;
    }


    public static class HouseVo {
        private String id;
        private String title;        // 标题
        private String pics;        // 图片集最多5张
        private String price;        // 价格
        private String houseType;        // 房型格局
        private String addr;        // 物件地址
        private String tkdTitle;
        private String tkdKeywords;
        private String tkdDesc;
        private Date updateDate;
        private Double rateOfReturn;

        public Double getRateOfReturn() {
            return rateOfReturn;
        }

        public void setRateOfReturn(Double rateOfReturn) {
            this.rateOfReturn = rateOfReturn;
        }

        public Date getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(Date updateDate) {
            this.updateDate = updateDate;
        }

        public String getTkdTitle() {
            return tkdTitle;
        }

        public void setTkdTitle(String tkdTitle) {
            this.tkdTitle = tkdTitle;
        }

        public String getTkdKeywords() {
            return tkdKeywords;
        }

        public void setTkdKeywords(String tkdKeywords) {
            this.tkdKeywords = tkdKeywords;
        }

        public String getTkdDesc() {
            return tkdDesc;
        }

        public void setTkdDesc(String tkdDesc) {
            this.tkdDesc = tkdDesc;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPics() {
            return pics;
        }

        public void setPics(String pics) {
            this.pics = pics;
        }




        public String getHouseType() {
            return houseType;
        }

        public void setHouseType(String houseType) {
            this.houseType = houseType;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }
    }

    public static class InfoVo {
        private String id;
        private String title;        // 标题
        private String thumbnail;
        private String describe;
        protected Date createDate;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getDescribe() {
            return describe;
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }
    }

    public static class PicVo {
        private String id;
        private String picAddr;        // 图片地址
        private String jumpType;        // 跳转方式(字典)
        private String link;        // 跳转地址

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPicAddr() {
            return picAddr;
        }

        public void setPicAddr(String picAddr) {
            this.picAddr = picAddr;
        }

        public String getJumpType() {
            return jumpType;
        }

        public void setJumpType(String jumpType) {
            this.jumpType = jumpType;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }
    }

}
